﻿<!--{eval $_TPL['titles'] = array(getstr($pic['title'], 60, 0, 0, 0, 0, -1),$title_nav, $title_nav1,$mtag['tagname']);}-->
<!--{template site/tpl/header}-->
<script type="text/javascript">
  j$ = jQuery.noConflict();  	
  var tick = 0;
  function update_announce() {
    if (!tick) {
      j$('#announce_form').show();
      tick = 1;
    } else {
      tick = 0;
      j$('#announce_form').hide();
    }
  }

   j$(function() {
      var hl=j$(".pic_link_list li.prof_avatar");
      hl.mouseover(function() {
			j$(this).addClass('proover');
            return false;
        });
	    hl.mouseout(function() {
		    j$(this).removeClass("proover");
		    return false;
	   });
    });

</script>
<h1 class="clearfix line"><a href="site.php?ac=show&fid=$mtag[fieldid]" class="h1brand"><span>$nav_name</span></a>
<a href="site.php?ac=profile&amp;op=index&amp;profid=$mtag[tagid]">$mtag[tagname]</a> / 
<!--{if $type=='spot'}-->
<a href="site.php?ac=profile&op=spot&amp;profid=$mtag[tagid]">时尚发现 </a> /
<a href="site.php?ac=profile&op=spot&amp;profid=$mtag[tagid]&amp;fid=$mtag1[fieldid]">$at_nav_cate  </a> + 
<a href="site.php?ac=profile&amp;op=index&amp;profid=$mtag1[tagid]">$mtag1[tagname] </a>
<!--{else}-->
<a href="site.php?ac=image&type=$type&id=$id&op=list">图片 </a> 
<!--{/if}-->
/ $pic[title]


</h1>



<div class="left">
<div class="h_sub_status">
	<div class="r_option">
		<a href="site.php?ac=action&op=report&idtype=picid&id=$pic[picid]" id="a_report" class="j a_add_report" >举报</a><span class="pipe">|</span>
		<a href="#" class="j a_upload_btn" name="$type-$id">添加新照片</a>
	</div>
	<!--{if $pcount}-->当前第 $sequence 张<span class="pipe">|</span>
	<!--{if $sequence != 1}-->
	<a href="site.php?ac=image&type=$type&id=$id&picid=$picid&goto=up">上一张</a>
	<!--{else}-->
	上一张
	<!--{/if}-->
	<span class="pipe">|</span>
	<!--{if $sequence != $pcount}-->
	<a href="site.php?ac=image&type=$type&id=$id&picid=$picid&goto=down" id="nextlink">下一张</a>
	<!--{else}-->
	下一张
	<!--{/if}-->
	<span class="pipe">|</span>
	<a href="site.php?ac=image&type=$type&id=$id&op=list">共 $pcount 张图片</a>
	<!--{/if}-->
</div>
        
<div class="block block_albumimage">
    <div class="content clearfix">
			 <!--{if ($pic[pic])}-->
             <dl>
			
				<dt class="imagedt">
        	<!--{if $sequence != $pcount}-->
          <a href="site.php?ac=image&type=$type&id=$id&picid=$picid&goto=down" id="nextlink"><img src="$pic[pic]" /></a>      
          <!--{else}-->
          <img src="$pic[pic]" />      
          <!--{/if}-->
						<!--{if $_GET['type']=='profile'}-->
						<!--{eval $from ='fromprof';}-->
						<!--{elseif $_GET['type']=='spot'}-->
						<!--{eval $from ='fromspot';}-->
						<!--{/if}-->
						
				</dt>
			
        <dd>
        <p><span class="imageuser">上传于 <!--{date('Y-m-d H:i',$pic[dateline])}--> </span>
            $pic[title]</p>
       <!--{if $pic[uid]==$_SGLOBAL[supe_uid]}--><p><a style="color:#fff;" href="javascript:;" onclick="update_title();">更新图片说明</a></p><!--{/if}-->
	<div id="title_form"  style="display:none;text-align:left;">
		<form id="titleform" class="j a_update_pic_title" name="titleform" action="site.php?ac=image&op=editpic" method="post">
			<textarea name="title[{$pic[picid]}]" cols="70" rows="3" style="width: 380px">$pic[title]</textarea>
			<br><input type="submit" name="editpicsubmit" class="submit" value="更新">
			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
		</form>
	</div>
        <div class="getrm hide" style="display: block;">
		<div class="block_rm clearfix">

		<!--{if !$_SGLOBAL[supe_uid]}-->
        <div class="arrow"/>
			<dl>
			<dt>想给ta留言？请先<a href="" class="j a_show_login innerlink">登录</a>或<a href="do.php?ac=$_SCONFIG[register_action]" class="innerlink">注册</a><span style="color: rgb(153, 153, 153);">(不超过24秒)</span>
			</dt>
			</dl>
		<!--{else}-->
	 <div id="commentlist" class="block_reviewreply">
					<!--{if $cid}-->
			<div class="notice">
				当前只显示与你操作相关的单个评论，<a href="site.php?ac=profile&op=index&profid=$profid#comment">点击此处查看全部评论</a>
			</div>
			<!--{/if}-->			
			<ul id="comment_ul">
			<!--{loop $list $value}-->
				<!--{template site/tpl/space_comment_li}-->
			<!--{/loop}-->
			</ul>
		</div>
		<div class="page">$multi</div>
		<form id="quickcommentform_{$picid}" name="quickcommentform_{$picid}" action="site.php?ac=comment" method="post" class="j a_add_reply quickpost" style="padding-bottom: 1em;">
			<table cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<textarea id="comment_message" name="message" rows="5" cols="60" ></textarea>
					</td>
				</tr>
				<tr>
					<td>
					<input type="hidden" name="refer" value="site.php?ac=image&type=$type&id=$id&picid=$picid" />
					<input type="hidden" name="id" value="$picid">
					<!--{if $type=='profile'}-->
					<input type="hidden" name="idtype" value="ppicid">
					<!--{else}-->
					<input type="hidden" name="idtype" value="spicid">
					<!--{/if}-->
					<input type="hidden" name="ext_id" value="$id">
					<input type="hidden" name="commentsubmit" value="true">
					<input type="submit" id="commentsubmit_btn" name="commentsubmit_btn" class="submit" value="评论" />
					<span id="comment_status"></span>
					</td>
				</tr>
			</table>
		<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
		</form>
		 <!--{/if}-->    
		</div>
		</div>
	    </dd>

        </dl>            
		<!--{/if}-->
	</div>
</div>



    </div>

<div class="right">

    <div class="block block_connectuser">
		<h2 >图片中有...</h2>
    <ul class="pic_link_list">
	
      <!--{loop $pprofs $pp}-->
			<li class="prof_avatar"><div class="avatar50"><a href="site.php?ac=profile&op=index&profid=$pp['tagid']"><img class="avatar" src="$pp['picurl']"/></a></div><div class="right_profile"><a href="site.php?ac=profile&op=index&profid=$pp['tagid']">$pp['tagname']</a></div><div class="setti"></div>
      </li>
      <!--{/loop}-->
      <li><h5>看到新的档案 ?</h5>
			<p><a href="#" class="j a_addprof_onpic new_profile" name="$id-$picid">添 加</a></p>
			</li>
		</ul>
	</div>
    </div>




	
<!--{template site/tpl/footer}-->
